-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add CI test for lowest supported runtime version of numpy #308
Conversation
Thanks @aryarm for getting this going! I wonder if @ccwang002 or @tomwhite can have a look. I can't keep up with all these issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @brentp and @aryarm! This looks good to me (but I'm finding it hard to keep track too).
My only comment is that oldest-supported-numpy is deprecated now, but we're only using it for older versions of Python (if my reading of https://github.com/brentp/cyvcf2/blob/main/pyproject.toml is correct). Anyway, it seems fine for the moment, but we can probably drop Python 3.7 and 3.8.
Maybe do a release and we can try it out with sgkit?
Yes, exactly! I actually maintain a few packages that depend on cyvcf2, and I know our users would continue to enjoy having support for python 3.7 and 3.8. So personally, I kinda hope that you continue supporting them, but I'm happy to remove support for them in this PR, if you decide it's not worth it By the way, I added another commit (to test against the newest available versions of numpy with python 3.7 and 3.8 as well). Sorry for the noise! |
Got it.
Fine to leave support for them in this PR (as long as they are not blocking the build, which they don't seem to be). They are getting quite old and the ecosystem marches on... Even Python 3.9 is out of the SPEC 0 support window at this point: https://scientific-python.org/specs/spec-0000/ |
Following up on #307 (comment), I added CI tests for the oldest and newest versions of numpy. I chose numpy 1.16 as the oldest compatible version of numpy, since it's the oldest version that still works with python 3.7 and the setup.py file already requires at least 3.7 anyway
Please note that the CI does not test that oldest version against macos or windows, since the runners in the CI use a version of python unsupported by numpy 1.16